using System;
using ECatalog.Models.Mailer;

namespace ECatalog.Models.Admin
{
    public class AdminRepository : IAdminRepository
    {
        private readonly IMailer mailer;

        public AdminRepository(IMailer mailer)
        {
            this.mailer = mailer;
        }

        public void SaveNotification(string write, string size, int modelId, int shopId)
        {
            mailer.AddToMailNotify(write, size, modelId, shopId);
        }
    }
}